package com.zgw.buess.impl.test;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import com.zgw.business.test.BuessionTestService;
import com.zgw.service.test.coupon.TestCoupon;
import com.zgw.service.test.order.TestOrder;
import com.zgw.service.test.user.TestUser;

@Component
@Service
public class BuessServiceImpl implements BuessionTestService{

	@Reference
	public TestUser testUser;
	
	@Reference
	public TestOrder  testOrder;
	
	@Reference
	public TestCoupon  testCoupon;
	
	@Override
	public Object buesinessTest() {
		Object str = testUser.testUser(" 我是业务服务 ");
		Object str2 = testOrder.testOrder(" 我是业务服务 ");
		Object str3 =testCoupon.testCoupon(" 我是业务服务 ");
		return (str.toString()+str2+str3);
	}

}
